// samsting : this file is auto create.

#include "Rds_Region/2014-08-15/DescibeImportsFromDatabaseResponse.h"

namespace aliyun { namespace Rds_Region {

DescibeImportsFromDatabaseResponse::DescibeImportsFromDatabaseResponse() {
}

int DescibeImportsFromDatabaseResponse::ImportResultFromDB::GetImportId(void) const {
  return ImportId_;
}

const string& DescibeImportsFromDatabaseResponse::ImportResultFromDB::GetImportDataType(void) const {
  return ImportDataType_;
}

const string& DescibeImportsFromDatabaseResponse::ImportResultFromDB::GetImportDataStatus(void) const {
  return ImportDataStatus_;
}

const string& DescibeImportsFromDatabaseResponse::ImportResultFromDB::GetImportDataStatusDescription(void) const {
  return ImportDataStatusDescription_;
}

const string& DescibeImportsFromDatabaseResponse::ImportResultFromDB::GetIncrementalImportingTime(void) const {
  return IncrementalImportingTime_;
}

const std::vector<DescibeImportsFromDatabaseResponse::ImportResultFromDB>& DescibeImportsFromDatabaseResponse::GetItems(void) const {
  return Items_;
}

int DescibeImportsFromDatabaseResponse::GetTotalRecordCount(void) const {
  return TotalRecordCount_;
}

int DescibeImportsFromDatabaseResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescibeImportsFromDatabaseResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescibeImportsFromDatabaseResponse::BaseKey(void) {
  return "DescibeImportsFromDatabaseResponse";
}

void DescibeImportsFromDatabaseResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescibeImportsFromDatabaseResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerInt(Items_[i1].ImportId_, response_map, "DescibeImportsFromDatabaseResponse.Items["+string_ValueOfInt(i1)+"].ImportId");
      UnmarshallerString(Items_[i1].ImportDataType_, response_map, "DescibeImportsFromDatabaseResponse.Items["+string_ValueOfInt(i1)+"].ImportDataType");
      UnmarshallerString(Items_[i1].ImportDataStatus_, response_map, "DescibeImportsFromDatabaseResponse.Items["+string_ValueOfInt(i1)+"].ImportDataStatus");
      UnmarshallerString(Items_[i1].ImportDataStatusDescription_, response_map, "DescibeImportsFromDatabaseResponse.Items["+string_ValueOfInt(i1)+"].ImportDataStatusDescription");
      UnmarshallerString(Items_[i1].IncrementalImportingTime_, response_map, "DescibeImportsFromDatabaseResponse.Items["+string_ValueOfInt(i1)+"].IncrementalImportingTime");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerInt(TotalRecordCount_, response_map, "DescibeImportsFromDatabaseResponse.TotalRecordCount");
  UnmarshallerInt(PageNumber_, response_map, "DescibeImportsFromDatabaseResponse.PageNumber");
  UnmarshallerInt(PageRecordCount_, response_map, "DescibeImportsFromDatabaseResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds_Region {

// end of file 
